home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / v cisle / updatestar / UpdateStar_Web_ENU.msi / DetailsXsl < prev    next >
Extensible Markup Language  |  2007-12-07  |  32KB  |  983 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3.  
  4. <xsl:template match="details/stylepath"></xsl:template>
  5. <xsl:template match="details/language"></xsl:template>
  6. <xsl:template match="details/largefont"></xsl:template>
  7.  
  8. <xsl:variable name="language"><xsl:value-of select="details/language"/></xsl:variable>
  9. <xsl:variable name="largefont"><xsl:value-of select="details/largefont"/></xsl:variable>
  10. <xsl:variable name="stylepathorig"><xsl:value-of select="details/stylepath"/></xsl:variable>
  11. <xsl:variable name="stylepath"><xsl:copy-of select="$stylepathorig"/>\img\</xsl:variable>
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. <xsl:variable name="iname"><xsl:value-of select="details/software/installed/name"/></xsl:variable>
  20. <xsl:variable name="iversion"><xsl:value-of select="details/software/installed/version"/></xsl:variable>
  21. <xsl:variable name="ipublisher"><xsl:value-of select="details/software/installed/publisher"/></xsl:variable>
  22. <xsl:variable name="irequirements"><xsl:value-of select="details/software/installed/requirements"/></xsl:variable>
  23. <xsl:variable name="ilincense"><xsl:value-of select="details/software/installed/license"/></xsl:variable>
  24. <xsl:variable name="icontact"><xsl:value-of select="details/software/installed/contact"/></xsl:variable>
  25. <xsl:variable name="ihelplink"><xsl:value-of select="details/software/installed/helplink"/></xsl:variable>
  26. <xsl:variable name="itelephone"><xsl:value-of select="details/software/installed/telephone"/></xsl:variable>
  27. <xsl:variable name="ireadme1"><xsl:value-of select="details/software/installed/readme/display"/></xsl:variable>
  28. <xsl:variable name="ireadme2"><xsl:value-of select="details/software/installed/readme/cmd"/></xsl:variable>
  29. <xsl:variable name="iupdates"><xsl:value-of select="details/software/installed/updates"/></xsl:variable>
  30. <xsl:variable name="icomment"><xsl:value-of select="details/software/installed/comment"/></xsl:variable>
  31. <xsl:variable name="idate"><xsl:value-of select="details/software/installed/date"/></xsl:variable>
  32. <xsl:variable name="isize"><xsl:value-of select="details/software/installed/size"/></xsl:variable>
  33. <xsl:variable name="iuninstall"><xsl:value-of select="details/software/installed/uninstall"/></xsl:variable>
  34. <xsl:variable name="irepair"><xsl:value-of select="details/software/installed/repair"/></xsl:variable>
  35. <xsl:variable name="imodify"><xsl:value-of select="details/software/installed/modify"/></xsl:variable>
  36. <xsl:variable name="idesciption"><xsl:value-of select="details/software/installed/description"/></xsl:variable>
  37. <xsl:variable name="ishortdescr"><xsl:value-of select="details/software/installed/shortdescr"/></xsl:variable>
  38. <xsl:variable name="icategory"><xsl:value-of select="details/software/installed/category"/></xsl:variable>
  39.  
  40. <xsl:variable name="ibuybuttons"><xsl:value-of select="details/software/installed/BuyButtons"/></xsl:variable>
  41. <xsl:variable name="iprodkey"><xsl:value-of select="details/software/installed/prodkey"/></xsl:variable>
  42.  
  43.  
  44. <xsl:variable name="idownloadbuttons"><xsl:value-of select="details/software/installed/DownloadButtons"/></xsl:variable>
  45.  
  46.  
  47.  
  48. <xsl:template match="details/software/update/version"></xsl:template>
  49. <xsl:template match="details/software/update/size"></xsl:template>
  50.  
  51. <xsl:variable name="uversion"><xsl:value-of select="details/software/update/version"/></xsl:variable>
  52. <xsl:variable name="usize"><xsl:value-of select="details/software/update/size"/></xsl:variable>
  53.  
  54.  
  55.  
  56. <xsl:template match="details/software">
  57. <html><head>
  58.  
  59. <xsl:element name="link">
  60.     <xsl:attribute name="href"><xsl:copy-of select="$stylepathorig"/>\style.css</xsl:attribute>
  61.     <xsl:attribute name="rel">stylesheet</xsl:attribute>
  62.     <xsl:attribute name="type">text/css</xsl:attribute>
  63. </xsl:element>
  64.  
  65. <xsl:if test="$largefont='yes'">
  66.     <style type="text/css">
  67.         td     {
  68.             font-size: 16px;
  69.         }
  70.         
  71.         td.desc{
  72.             font-size:13px;
  73.         }
  74.         td.normal{
  75.             font-size:13px;
  76.         }
  77.         a.sublink{
  78.             font-size:11px;
  79.             font-weight:bold;
  80.         }
  81.     </style>
  82. </xsl:if>
  83.  
  84. <!--
  85. <xsl:element name="SCRIPT">
  86.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  87.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\<xsl:copy-of select="$language"/>.js</xsl:attribute>
  88. </xsl:element>
  89.  
  90.  
  91. <xsl:element name="SCRIPT">
  92.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  93.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\slang.js</xsl:attribute>
  94. </xsl:element>
  95. -->
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106. <xsl:element name="SCRIPT">
  107.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  108. function translate(){
  109.     for (newalt in sfields) {
  110.         if(document.getElementById(newalt) ){
  111.             if(document.getElementById(newalt).alt){//image
  112.                 document.getElementById(newalt).alt=sfields[newalt];
  113.             }else if(document.getElementById(newalt).value == ""){//input
  114.                 document.getElementById(newalt).value=sfields[newalt];
  115.             }else{
  116.                 document.getElementById(newalt).innerHTML=sfields[newalt];//default div element
  117.             }
  118.         }
  119.  
  120.             if(document.getElementById(newalt + "_" + 0)){
  121.                 document.getElementById(newalt + "_" + 0).innerHTML=sfields[newalt];
  122.             }
  123.             
  124.             if(document.getElementById(newalt + "_" + 1)){
  125.                 document.getElementById(newalt + "_" + 1).innerHTML=sfields[newalt];
  126.             }
  127.             
  128.             if(document.getElementById(newalt + "_" + 2)){
  129.                 document.getElementById(newalt + "_" + 2).innerHTML=sfields[newalt];
  130.             }
  131.             
  132.             if(document.getElementById(newalt + "_" + 3)){
  133.                 document.getElementById(newalt + "_" + 3).innerHTML=sfields[newalt];
  134.             }
  135.             
  136.             if(document.getElementById(newalt + "_" + 4)){
  137.                 document.getElementById(newalt + "_" + 4).innerHTML=sfields[newalt];
  138.             }
  139.             
  140.             if(document.getElementById(newalt + "_" + 5)){
  141.                 document.getElementById(newalt + "_" + 5).innerHTML=sfields[newalt];
  142.             }
  143.                 
  144.         }
  145. }
  146.  
  147.  
  148. var sfields = new Array();
  149.  
  150. //start
  151. sfields["str_noupdate"]        = "No Updates Available";
  152. sfields["str_yesupdate"]    = "Updates Available!";
  153. sfields["str_lastscan"]        = "Last Update Scan:";
  154. sfields["str_foundprogs"]    = "Programs found:";
  155. sfields["str_foundupdates"]    = "Updates found:";
  156. sfields["searchbutton"]        = "Search for Updates";
  157. sfields["listbutton"]        = "Program List";
  158. sfields["str_availupdates"]    = "Updates Available:";
  159. sfields["str_availvers"]    = "Version:";
  160. sfields["str_availnews"]    = "News:";
  161.  
  162.  
  163. //details
  164. sfields["str_pname"]        = "Product name:";
  165. sfields["str_publisher"]    = "Publisher:";
  166. sfields["str_category"]     = "Category:";
  167. sfields["str_license"]         = "License:";
  168. sfields["str_irequirements"] = "System requirements:";
  169. sfields["str_iversion"]     = "Installed Version:";
  170. sfields["str_uversion"]     = "Current Version:";
  171. sfields["str_management"]     = "Administration:";
  172. sfields["str_info"]         = "Info";
  173. sfields["str_sdesc"]         = "Short description:";
  174. sfields["str_desc"]         = "Description:";
  175. sfields["str_download"]     = "Download";
  176. sfields["str_buynow"]         = "Buy now";
  177. sfields["str_buyfrom"]         = "from ";
  178. sfields["str_errlink"]         = "incorrect link";
  179. sfields["str_sendupdate"]     = "Send Update";
  180. sfields["sendupdate"]         = "Send Update";
  181. sfields["alt_uninstall"]    = "Uninstall ";
  182. sfields["alt_repair"]         = "Repair";
  183. sfields["alt_modify"]         = "Modify";
  184.  
  185. sfields["str_newstitle"]    = "Title";
  186. sfields["str_newsdata"]     = "Date";
  187.  
  188. </xsl:element>
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195. <xsl:if test="$language='1031'">
  196.     <script type="text/javascript">
  197.     
  198. //start
  199. sfields["str_noupdate"]        = "Keine Updates verfⁿgbar";
  200. sfields["str_yesupdate"]    = "Updates verfⁿgbar!";
  201. sfields["str_lastscan"]        = "Letzter Update-Scan:";
  202. sfields["str_foundprogs"]    = "Gefundene Programme:";
  203. sfields["str_foundupdates"]    = "Gefundene Updates:";
  204. sfields["searchbutton"]        = "Updates suchen";
  205. sfields["listbutton"]        = "Programmliste";
  206. sfields["str_availupdates"]    = "Verfⁿgbare Updates:";
  207. sfields["str_availvers"]    = "Aktuelle Version:";
  208. sfields["str_availnews"]    = "Verfⁿgbare Meldungen:";
  209.  
  210.  
  211. //details
  212. sfields["str_pname"]        = "Produktname:";
  213. sfields["str_publisher"]    = "Hersteller:";
  214. sfields["str_category"]     = "Produktkategorie:";
  215. sfields["str_irequirements"] = "Systemanforderungen:";
  216. sfields["str_license"]         = "Lizenz:";
  217. sfields["str_iversion"]     = "Installierte Version:";
  218. sfields["str_uversion"]     = "Aktuelle Version:";
  219. sfields["str_management"]     = "Verwaltung:";
  220. sfields["str_info"]         = "Info";
  221. sfields["str_sdesc"]         = "Kurze Beschreibung:";
  222. sfields["str_desc"]         = "Beschreibung:";
  223. sfields["str_download"]     = "Download";
  224. sfields["str_buynow"]         = "Jetzt kaufen";
  225. sfields["str_buyfrom"]         = "von ";
  226. sfields["str_errlink"]         = "Link ist falsch";
  227. sfields["str_sendupdate"]     = "Update senden";
  228. sfields["sendupdate"]         = "Update senden";
  229. sfields["alt_uninstall"]    = "Deinstallieren ";
  230. sfields["alt_repair"]         = "Reparieren";
  231. sfields["alt_modify"]         = "─ndern";
  232.  
  233. //news
  234. sfields["str_newstitle"]    = "Titel";
  235. sfields["str_newsdata"]     = "Datum";
  236.  
  237.     </script>
  238. </xsl:if>
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245. </head>
  246.  
  247. <body onload="if(window.translate)translate(); ">
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258. <xsl:element name="SCRIPT">
  259.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  260.  
  261. </xsl:element>
  262.  
  263.  
  264. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  265.     <tr>
  266.         <td style="padding-left: 10px; padding-right:10px; padding-top:10px; padding-bottom:10px;" valign="top">
  267.  
  268.  
  269.  
  270. <table border="0" cellpadding="0" cellspacing="0" width="100%" >
  271.     <tr>
  272.         <td class="status_greenl" id="nameleft"><xsl:copy-of select="$iname"/></td>
  273.         <td class="status_greenr" id="nameright">
  274.             <xsl:element name="img">
  275.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  276.                 <xsl:attribute name="width">19</xsl:attribute>
  277.                 <xsl:attribute name="height">23</xsl:attribute>
  278.             </xsl:element>
  279.         </td>
  280.     </tr>
  281. </table>
  282.  
  283. </td>
  284. </tr>
  285.  
  286. <tr>
  287. <td valign="top" style="padding-left: 10px; padding-right:10px;padding-top:10px; padding-bottom:10px;" >
  288.  
  289. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  290.                         <tr>
  291.                             <td class="tl">
  292.                                 <xsl:element name="img">
  293.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  294.                                     <xsl:attribute name="width">2</xsl:attribute>
  295.                                     <xsl:attribute name="height">2</xsl:attribute>
  296.                                 </xsl:element>
  297.                             </td><td class="tm" width="100%"></td>
  298.                             <td class="tr">
  299.                                 <xsl:element name="img">
  300.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  301.                                     <xsl:attribute name="width">2</xsl:attribute>
  302.                                     <xsl:attribute name="height">2</xsl:attribute>
  303.                                 </xsl:element>
  304.                             </td>
  305.                         </tr>
  306.                         <tr>
  307.                             <td class="ml"></td>
  308.                             <td width="100%" class="wbox">
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
  317.     <tr><td valign="top">
  318.  
  319.         <xsl:apply-templates />
  320.         
  321.         <xsl:if test="update">
  322.             <script type="text/javascript">                
  323.                 document.getElementById('nameleft').className='status_redl';
  324.                 document.getElementById('nameright').className='status_redr';
  325.  
  326.             </script>
  327.         </xsl:if>
  328.             
  329.     </td></tr>
  330. </table>
  331.  
  332.  
  333.                             </td>
  334.                             <td class="mr"></td>
  335.                         </tr>
  336.                         <tr>
  337.                             <td class="ml"></td>
  338.                             <td valign="top" class="wbox">
  339.                                 <xsl:element name="img">
  340.                                     <xsl:attribute name="border">0</xsl:attribute>
  341.                                     <xsl:attribute name="align">right</xsl:attribute>
  342.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>star.gif</xsl:attribute>
  343.                                 </xsl:element>
  344.                             </td>
  345.                             <td class="mr"></td>
  346.                         </tr>
  347.                         <tr>
  348.                             <td class="bl">
  349.                                 <xsl:element name="img">
  350.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  351.                                     <xsl:attribute name="width">2</xsl:attribute>
  352.                                     <xsl:attribute name="height">2</xsl:attribute>
  353.                                 </xsl:element>
  354.                             </td>
  355.                             <td class="bm"></td>
  356.                             <td class="br">
  357.                                 <xsl:element name="img">
  358.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  359.                                     <xsl:attribute name="width">2</xsl:attribute>
  360.                                     <xsl:attribute name="height">2</xsl:attribute>
  361.                                 </xsl:element>
  362.                             </td>
  363.                         </tr>
  364.                     
  365.                     </table>
  366.                     
  367.                     
  368.  
  369.  
  370.  
  371.         </td>
  372.     </tr>
  373. </table>
  374.                     
  375. </body>
  376. </html>
  377.  
  378. </xsl:template>
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390. <xsl:template match="installed">
  391.             
  392.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  393.  
  394.         <TR>
  395.             <TD width="150">
  396.                 <xsl:element name="img">
  397.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/cshim.gif</xsl:attribute>
  398.                     <xsl:attribute name="width">150</xsl:attribute>
  399.                     <xsl:attribute name="height">1</xsl:attribute>
  400.                 </xsl:element>
  401.             </TD>
  402.             <TD width="100%"></TD>
  403.         </TR>
  404.         
  405.         <TR><TD colspan="2">
  406.             <table border="0" width="100%" cellpadding="0" cellspacing="0">
  407.                 <TR>
  408.                     <TD class="normal" valign="top"><xsl:copy-of select="$ishortdescr"/></TD>
  409.                     <TD  style="text-align: right;" valign="top"><xsl:copy-of select="$sumbitupdate"/></TD>
  410.                 </TR>
  411.                 <TR>
  412.                     <TD colspan="2" style="text-align: right;" height="10" valign="top"></TD>
  413.                 </TR>
  414.             </table>
  415.         </TD></TR>
  416.         
  417.         
  418.  
  419.         <xsl:if test="not($ipublisher='')"><TR><TD class="desc"><div id="str_publisher">.</div></TD><TD class="normal"><xsl:copy-of select="$ipublisher"/></TD></TR></xsl:if>
  420.         
  421.         <xsl:if test="not($icategory='')"><TR><TD class="desc"><div id="str_category">.</div></TD><TD class="normal"><xsl:copy-of select="$icategory"/></TD></TR></xsl:if>
  422.         
  423.         <xsl:if test="not($irequirements='')"><TR><TD class="desc"><div id="str_irequirements">.</div></TD><TD class="normal"><xsl:copy-of select="$irequirements"/></TD></TR></xsl:if>
  424.         
  425.         
  426.         <xsl:if test="not($ilincense='')"><TR><TD class="desc"><div id="str_license">.</div></TD><TD class="normal"><xsl:copy-of select="$ilincense"/></TD></TR></xsl:if>
  427.         
  428.         
  429.         <xsl:if test="not($iversion='')">
  430.             <TR>
  431.                 <TD class="desc"><div id="str_iversion">.</div></TD>
  432.                 <TD class="normal">
  433.                     <xsl:copy-of select="$iversion"/>
  434.                 </TD>
  435.             </TR>
  436.         </xsl:if>
  437.         
  438.         <xsl:if test="not($uversion='')">
  439.             <TR>
  440.                 <TD class="desc"><div id="str_uversion">.</div></TD>
  441.                 <TD class="normal">
  442.                     <b><xsl:copy-of select="$uversion"/></b>
  443.                 </TD>
  444.             </TR>
  445.         </xsl:if>
  446.         
  447.         <xsl:if test="$uversion=''">
  448.             <TR>
  449.                 <TD class="desc"><div id="str_uversion">.</div></TD>
  450.                 <TD class="normal">
  451.                     <xsl:copy-of select="$iversion"/>
  452.                 </TD>
  453.             </TR>
  454.         </xsl:if>
  455.         
  456.         
  457.         
  458.         
  459.         <xsl:for-each select="DownloadButtons">
  460.             <xsl:if test="DownloadButton">
  461.                 <TR><td></td><TD style="padding-left:5px"><TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
  462.             </xsl:if>
  463.         </xsl:for-each>
  464.         
  465.         
  466.         
  467.         
  468.         
  469.         <xsl:for-each select="BuyButtons">
  470.             <xsl:if test="BuyButton">
  471.                 <TR><td></td><TD  style="padding-left:5px"><TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
  472.             </xsl:if>
  473.         </xsl:for-each>
  474.         
  475.         
  476.         
  477.  
  478.         
  479.  
  480.     
  481.  
  482.         
  483.  
  484.         
  485.         
  486.         
  487.         <TR>
  488.             <TD class="desc"><div id="str_management">.</div></TD>
  489.             <TD>
  490.         
  491.             <table border="0" cellspacing="5" cellpadding="0">
  492.                 <tr>
  493.                     <xsl:if test="not($iuninstall='')">
  494.                         <td style="padding-left:5px">    
  495.                         
  496.                             <table border="0" cellpadding="0" cellspacing="0" width="150">
  497.                                 <tr>
  498.                                 <td class="uninstall">
  499.                                     <xsl:element name="a">
  500.                                         <xsl:attribute name="href">javascript:window.external.Uninstall('<xsl:copy-of select="$iuninstall"/>');</xsl:attribute>
  501.                                         <xsl:element name="img">
  502.                                             <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  503.                                             <xsl:attribute name="width">40</xsl:attribute>
  504.                                             <xsl:attribute name="height">42</xsl:attribute>
  505.                                             <xsl:attribute name="border">0</xsl:attribute>
  506.                                             <xsl:attribute name="alt"><xsl:value-of select="DisplayUrl"/></xsl:attribute>
  507.                                         </xsl:element>
  508.                                     </xsl:element>
  509.                                 </td>
  510.         
  511.                                 <td class="middle2" width="100%">
  512.                                 <xsl:element name="a">
  513.                                     <xsl:attribute name="href">javascript:window.external.Uninstall('<xsl:copy-of select="$iuninstall"/>');</xsl:attribute>
  514.                                     <xsl:attribute name="class">middle2</xsl:attribute>
  515.                                     <xsl:element name="div">
  516.                                         <xsl:attribute name="id">alt_uninstall</xsl:attribute>
  517.                                         .
  518.                                     </xsl:element>
  519.                                 </xsl:element>        
  520.                                 </td>
  521.         
  522.                                 <td class="right2">
  523.                                     <xsl:element name="img">
  524.                                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  525.                                         <xsl:attribute name="width">10</xsl:attribute>
  526.                                         <xsl:attribute name="height">42</xsl:attribute>
  527.                                     </xsl:element>
  528.                                 </td>
  529.                                 </tr>
  530.                             </table>
  531.  
  532.                         </td>
  533.                     </xsl:if>
  534.                     
  535.                     
  536.                     <xsl:if test="not($irepair='')">
  537.                         <td style="padding-left:5px">        
  538.                         
  539.                             <table border="0" cellpadding="0" cellspacing="0" width="150">
  540.                                 <tr>
  541.                                 <td class="repair">
  542.                                     <xsl:element name="a">
  543.                                         <xsl:attribute name="href">javascript:window.external.Repair('<xsl:copy-of select="$irepair"/>');</xsl:attribute>
  544.                                         <xsl:element name="img">
  545.                                             <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  546.                                             <xsl:attribute name="width">40</xsl:attribute>
  547.                                             <xsl:attribute name="height">42</xsl:attribute>
  548.                                             <xsl:attribute name="border">0</xsl:attribute>
  549.                                             <xsl:attribute name="alt"><xsl:value-of select="DisplayUrl"/></xsl:attribute>
  550.                                         </xsl:element>
  551.                                     </xsl:element>
  552.                                 </td>
  553.         
  554.                                 <td class="middle2" width="100%">
  555.                                 <xsl:element name="a">
  556.                                     <xsl:attribute name="href">javascript:window.external.Repair('<xsl:copy-of select="$irepair"/>');</xsl:attribute>
  557.                                     <xsl:attribute name="class">middle2</xsl:attribute>
  558.                                     <xsl:element name="div">
  559.                                         <xsl:attribute name="id">alt_repair</xsl:attribute>
  560.                                         .
  561.                                     </xsl:element>
  562.                                 </xsl:element>        
  563.                                 </td>
  564.         
  565.                                 <td class="right2">
  566.                                     <xsl:element name="img">
  567.                                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  568.                                         <xsl:attribute name="width">10</xsl:attribute>
  569.                                         <xsl:attribute name="height">42</xsl:attribute>
  570.                                     </xsl:element>
  571.                                 </td>
  572.                                 </tr>
  573.                             </table>
  574.                     
  575.                         
  576.                         </td>
  577.                     </xsl:if>
  578.     
  579.                     
  580.                     
  581.                     <xsl:if test="not($imodify='')">
  582.                         <td style="padding-left:5px">    
  583.                     
  584.                             <table border="0" cellpadding="0" cellspacing="0" width="150">
  585.                                 <tr>
  586.                                 <td class="repair">
  587.                                     <xsl:element name="a">
  588.                                         <xsl:attribute name="href">javascript:window.external.Modify('<xsl:copy-of select="$imodify"/>');</xsl:attribute>
  589.                                         <xsl:element name="img">
  590.                                             <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  591.                                             <xsl:attribute name="width">40</xsl:attribute>
  592.                                             <xsl:attribute name="height">42</xsl:attribute>
  593.                                             <xsl:attribute name="border">0</xsl:attribute>
  594.                                             <xsl:attribute name="alt"><xsl:value-of select="DisplayUrl"/></xsl:attribute>
  595.                                         </xsl:element>
  596.                                     </xsl:element>
  597.                                 </td>
  598.         
  599.                                 <td class="middle2" width="100%">
  600.                                 <xsl:element name="a">
  601.                                     <xsl:attribute name="href">javascript:window.external.Modify('<xsl:copy-of select="$imodify"/>');</xsl:attribute>
  602.                                     <xsl:attribute name="class">middle2</xsl:attribute>
  603.                                     <xsl:element name="div">
  604.                                         <xsl:attribute name="id">alt_modify</xsl:attribute>
  605.                                         .
  606.                                     </xsl:element>
  607.                                 </xsl:element>        
  608.                                 </td>
  609.         
  610.                                 <td class="right2">
  611.                                     <xsl:element name="img">
  612.                                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  613.                                         <xsl:attribute name="width">10</xsl:attribute>
  614.                                         <xsl:attribute name="height">42</xsl:attribute>
  615.                                     </xsl:element>
  616.                                 </td>
  617.                                 </tr>
  618.                             </table>
  619.                     
  620.     
  621.                         </td>
  622.                     </xsl:if>
  623.                 </tr>
  624.             </table>
  625.             </TD>
  626.         </TR>
  627.         
  628.  
  629.         
  630.         
  631.         
  632.         
  633.         <xsl:for-each select="InfoButtons">
  634.             <xsl:if test="InfoButton">
  635.                 <TR><TD></TD><TD  style="padding-left:5px"><TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
  636.             </xsl:if>
  637.         </xsl:for-each>
  638.         
  639.         
  640.         
  641.         
  642.         <xsl:if test="not($idesciption='')"><TR><TD class="desc"><div id="str_desc">.</div></TD><TD class="normal"><xsl:copy-of select="$idesciption"/></TD></TR></xsl:if>
  643.         
  644.         
  645.     </table>
  646.     
  647.     
  648. </xsl:template>
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657. <xsl:template match="details/software/installed/name"></xsl:template>
  658.  
  659. <xsl:template match="details/software/installed/version"></xsl:template>
  660. <xsl:template match="details/software/installed/publisher"></xsl:template>
  661. <xsl:template match="details/software/installed/contact"></xsl:template>
  662. <xsl:template match="details/software/installed/helplink"></xsl:template>
  663. <xsl:template match="details/software/installed/telephone"></xsl:template>
  664. <xsl:template match="details/software/installed/readme/display"></xsl:template>
  665. <xsl:template match="details/software/installed/readme/cmd"></xsl:template>
  666. <xsl:template match="details/software/installed/updates"></xsl:template>
  667. <xsl:template match="details/software/installed/comment"></xsl:template>
  668. <xsl:template match="details/software/installed/date"></xsl:template>
  669. <xsl:template match="details/software/installed/size"></xsl:template>
  670. <xsl:template match="details/software/installed/uninstall"></xsl:template>
  671. <xsl:template match="details/software/installed/repair"></xsl:template>
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684. <xsl:template match="InfoButton">
  685.     <TD class="buymeta">
  686.     <table border="0" cellpadding="0" cellspacing="0" width="150">
  687.         <tr>
  688.         <td class="infol">
  689.             <xsl:element name="a">
  690.                 <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  691.                 <xsl:element name="img">
  692.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  693.                     <xsl:attribute name="width">40</xsl:attribute>
  694.                     <xsl:attribute name="height">42</xsl:attribute>
  695.                     <xsl:attribute name="border">0</xsl:attribute>
  696.                     <xsl:attribute name="alt"><xsl:value-of select="DisplayUrl"/></xsl:attribute>
  697.                 </xsl:element>
  698.             </xsl:element>
  699.         </td>
  700.         
  701.         <td class="buym" width="100%">
  702.         <xsl:element name="a">
  703.             <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  704.             <xsl:attribute name="class">buy</xsl:attribute>
  705.             <xsl:element name="div">
  706.                 <xsl:attribute name="id">str_info_<xsl:number level="single" count="InfoButton" format="1" /></xsl:attribute>
  707.                 .
  708.             </xsl:element>
  709.         </xsl:element>        
  710.         </td>
  711.         
  712.         <td class="buyr">
  713.             <xsl:element name="img">
  714.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  715.                 <xsl:attribute name="width">10</xsl:attribute>
  716.                 <xsl:attribute name="height">42</xsl:attribute>
  717.             </xsl:element>
  718.         </td>
  719.         </tr>
  720.     </table>
  721.     </TD>
  722.  
  723.  
  724.  
  725. </xsl:template>
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737. <xsl:template match="DownloadButton">
  738.     <TD class="buymeta">
  739.     <table border="0" cellpadding="0" cellspacing="0" width="150">
  740.         <tr>
  741.         <td class="downloadl">
  742.             <xsl:element name="a">
  743.                 <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  744.                 <xsl:element name="img">
  745.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  746.                     <xsl:attribute name="width">40</xsl:attribute>
  747.                     <xsl:attribute name="height">42</xsl:attribute>
  748.                     <xsl:attribute name="border">0</xsl:attribute>
  749.                 </xsl:element>
  750.             </xsl:element>
  751.         </td>
  752.         
  753.         <td class="buym" width="100%">
  754.         <xsl:element name="a">
  755.             <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  756.             <xsl:attribute name="class">buy</xsl:attribute>
  757.             <xsl:element name="div">
  758.                 <xsl:attribute name="id">str_download_<xsl:number level="single" count="DownloadButton" format="1" /></xsl:attribute>
  759.                 .
  760.             </xsl:element>
  761.         </xsl:element>        
  762.         </td>
  763.         
  764.         <td class="buyr">
  765.             <xsl:element name="img">
  766.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  767.                 <xsl:attribute name="width">10</xsl:attribute>
  768.                 <xsl:attribute name="height">42</xsl:attribute>
  769.             </xsl:element>
  770.         </td>
  771.         </tr>
  772.     </table>
  773.     </TD>
  774. </xsl:template>
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789. <xsl:template match="BuyButton">
  790.     <TD class="buymeta">
  791.     <table border="0" cellpadding="0" cellspacing="0" width="150">
  792.         <tr>
  793.         <td class="buyl">
  794.             <xsl:element name="a">
  795.                 <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  796.                 <xsl:element name="img">
  797.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  798.                     <xsl:attribute name="width">40</xsl:attribute>
  799.                     <xsl:attribute name="height">42</xsl:attribute>
  800.                     <xsl:attribute name="border">0</xsl:attribute>
  801.                 </xsl:element>
  802.             </xsl:element>
  803.         </td>
  804.         
  805.         <td class="buym" width="100%" style="white-space: nowrap;">
  806.         <xsl:element name="a">
  807.             <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  808.             <xsl:attribute name="class">buy</xsl:attribute>
  809.             <xsl:element name="div">
  810.                 <xsl:attribute name="id">str_buynow_<xsl:number level="single" count="BuyButton" format="1" /></xsl:attribute>
  811.                 .
  812.             </xsl:element>
  813.         </xsl:element>        
  814.         </td>
  815.         
  816.         <td class="buyr">
  817.             <xsl:element name="img">
  818.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  819.                 <xsl:attribute name="width">10</xsl:attribute>
  820.                 <xsl:attribute name="height">42</xsl:attribute>
  821.             </xsl:element>
  822.         </td>
  823.         </tr>
  824.     </table>
  825.         
  826.     <p style="margin-top:0px;">
  827.         <xsl:if test="DisplayName">
  828.             <font color="#000000">
  829.                 <xsl:element name="div">
  830.                     <xsl:attribute name="style">display: inline;</xsl:attribute>
  831.                     <xsl:attribute name="id">str_buyfrom_<xsl:number level="single" count="BuyButton" format="1" /></xsl:attribute>
  832.                     .
  833.                 </xsl:element>
  834.              </font>
  835.             <xsl:value-of select="DisplayName"/>
  836.         </xsl:if>
  837.     </p>
  838.                     
  839.     </TD>
  840. </xsl:template>
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847. <xsl:variable name="sumbitupdate">
  848.     <table border="0" cellpadding="0" cellspacing="0" style="margin-left:20px;">
  849.         <tr>
  850.         <td class="subl">
  851.             <xsl:element name="img">
  852.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  853.                 <xsl:attribute name="width">8</xsl:attribute>
  854.                 <xsl:attribute name="height">21</xsl:attribute>
  855.             </xsl:element>
  856.         </td>
  857.         
  858.         <td class="subm" style="white-space:nowrap;">
  859.         <xsl:element name="form">
  860.             <xsl:attribute name="id">uform</xsl:attribute>
  861.             <xsl:attribute name="method">POST</xsl:attribute>
  862.             <xsl:attribute name="target">_blank</xsl:attribute>
  863.             <xsl:attribute name="action">http://www.updatestar.com/submit/index.php</xsl:attribute>
  864.             
  865.             <xsl:element name="input">
  866.                 <xsl:attribute name="type">hidden</xsl:attribute>
  867.                 <xsl:attribute name="name">iname</xsl:attribute>
  868.                 <xsl:attribute name="value"><xsl:copy-of select="$iname"/></xsl:attribute>
  869.             </xsl:element>
  870.             
  871.             
  872.             
  873.             <xsl:element name="input">
  874.                 <xsl:attribute name="type">hidden</xsl:attribute>
  875.                 <xsl:attribute name="name">ishortdescr</xsl:attribute>
  876.                 <xsl:attribute name="value"><xsl:copy-of select="$ishortdescr"/></xsl:attribute>
  877.             </xsl:element>
  878.             
  879.             
  880.             <xsl:element name="input">
  881.                 <xsl:attribute name="type">hidden</xsl:attribute>
  882.                 <xsl:attribute name="name">ipublisher</xsl:attribute>
  883.                 <xsl:attribute name="value"><xsl:copy-of select="$ipublisher"/></xsl:attribute>
  884.             </xsl:element>
  885.             
  886.             
  887.             
  888.             <xsl:element name="input">
  889.                 <xsl:attribute name="type">hidden</xsl:attribute>
  890.                 <xsl:attribute name="name">icategory</xsl:attribute>
  891.                 <xsl:attribute name="value"><xsl:copy-of select="$icategory"/></xsl:attribute>
  892.             </xsl:element>
  893.             
  894.             
  895.             <xsl:element name="input">
  896.                 <xsl:attribute name="type">hidden</xsl:attribute>
  897.                 <xsl:attribute name="name">ilincense</xsl:attribute>
  898.                 <xsl:attribute name="value"><xsl:copy-of select="$ilincense"/></xsl:attribute>
  899.             </xsl:element>
  900.             
  901.             
  902.             <xsl:element name="input">
  903.                 <xsl:attribute name="type">hidden</xsl:attribute>
  904.                 <xsl:attribute name="name">iversion</xsl:attribute>
  905.                 <xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
  906.             </xsl:element>
  907.             
  908.                 
  909.             <xsl:element name="input">
  910.                 <xsl:attribute name="type">hidden</xsl:attribute>
  911.                 <xsl:attribute name="name">uversion</xsl:attribute>
  912.                 <xsl:attribute name="value"><xsl:copy-of select="$uversion"/></xsl:attribute>
  913.             </xsl:element>
  914.                 
  915.             
  916.             <xsl:element name="input">
  917.                 <xsl:attribute name="type">hidden</xsl:attribute>
  918.                 <xsl:attribute name="name">idesciption</xsl:attribute>
  919.                 <xsl:attribute name="value"><xsl:copy-of select="$idesciption"/></xsl:attribute>
  920.             </xsl:element>
  921.             
  922.             
  923.             <xsl:element name="input">
  924.                 <xsl:attribute name="type">hidden</xsl:attribute>
  925.                 <xsl:attribute name="name">lang</xsl:attribute>
  926.                 <xsl:attribute name="value"><xsl:copy-of select="$language"/></xsl:attribute>
  927.             </xsl:element>
  928.                         
  929.             
  930.             
  931.  
  932.             
  933.             
  934.             <xsl:for-each select="details/software/installed/BuyButtons/BuyButton">
  935.                     <xsl:element name="input">
  936.                         <xsl:attribute name="type">hidden</xsl:attribute>
  937.                         <xsl:attribute name="name">BuyButton_URL[]</xsl:attribute>
  938.                         <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  939.                     </xsl:element>
  940.                     <xsl:element name="input">
  941.                         <xsl:attribute name="type">hidden</xsl:attribute>
  942.                         <xsl:attribute name="name">BuyButton_DisplayName[]</xsl:attribute>
  943.                         <xsl:attribute name="value"><xsl:value-of select="DisplayName"/></xsl:attribute>
  944.                     </xsl:element>
  945.             </xsl:for-each>
  946.             
  947.             
  948.             <xsl:for-each select="details/software/installed/DownloadButtons/DownloadButton">
  949.                     <xsl:element name="input">
  950.                         <xsl:attribute name="type">hidden</xsl:attribute>
  951.                         <xsl:attribute name="name">DownloadButton_URL[]</xsl:attribute>
  952.                         <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  953.                     </xsl:element>
  954.             </xsl:for-each>
  955.             
  956.         
  957.         </xsl:element>    
  958.         
  959.         
  960.         
  961.         <xsl:element name="a">
  962.             <xsl:attribute name="href">javascript:window.external.OpenUpdateSend('<xsl:copy-of select="$iprodkey"/>');</xsl:attribute>
  963.             <xsl:attribute name="class">sublink</xsl:attribute>
  964.             <div id="str_sendupdate">.</div>
  965.  
  966.         </xsl:element>        
  967.         </td>
  968.         
  969.         <td class="subr">
  970.             <xsl:element name="img">
  971.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  972.                 <xsl:attribute name="width">8</xsl:attribute>
  973.                 <xsl:attribute name="height">21</xsl:attribute>
  974.             </xsl:element>
  975.         </td>
  976.         </tr>
  977.     </table>
  978. </xsl:variable>
  979.  
  980.  
  981.  
  982. </xsl:stylesheet>
  983.